package models

import "gorm.io/gorm"

type Book struct {
	gorm.Model
	Name      string `gorm:"type:varchar(100);not null" json:"name"`
	StudentId int    `gorm:"type:int;not null" json:"student_id"`
	BookName  string `gorm:"type:varchar(100);not null" json:"book_name"`
	Time      string `gorm:"type:varchar(100);not null" json:"time"`
	Yes       string `gorm:"type:varchar(100);not null" json:"yes"`
	BookId    int    `gorm:"type:int;not null" json:"book_id"`
}
